﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CheckLift.Linq
{
    public class UserData : BaseData
    {
        public User GetUser()
        {
            using (CheckLiftDataDataContext dc = new CheckLiftDataDataContext())
            {
               return dc.Users.Where(o => o.Id != null).FirstOrDefault();                
            }
        }
    }
}
